<?php
class f{
	private static $classlist = array();
	public static function m($class){
		if (!isset(static::$classlist[$class])) {
			$classname = $class.'model';
			static::$classlist[$class] = new $classname();
		}
		return static::$classlist[$class];
	}
}


?>